﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="Habito.Admini.Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server"><title></title>
    <style type="text/css">
        ul { list-style: none; font-size: 11px; color: #006FA1; text-align: left; padding-left: 20px; }
            ul li { color: #006FA1; }
        .accordion-body { padding: 2px; }
    </style>
    <script type="text/javascript" src="../../Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="../../Scripts/jquery.treeTable.js"> </script>
    <script type="text/javascript" src="../../Scripts/jquery.jbind.js"></script>
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/easyui.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="../../Scripts/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../Scripts/ddaccordion.js"></script>
    <script type="text/javascript">
        function signout() {
            $.ajax({
                cache: false,
                url: "Index.aspx" + "?signout=1",
                data: {},
                success: function (data) {
                    if (data == "1") {
                        window.navigate("Login.aspx");
                    }
                }
            });
        }
    </script>
</head>
<body class="easyui-layout" style="text-align: left; width: 966px; margin: auto; background-image: url(../../content/images/allbackground.jpg); background-repeat: repeat; background-position: top;">
    <div region="north" title="" split="true" style="height: 100px;">
        <div class="headImg">
            <div style="text-align: left; padding-top: 60px; font-size: 11pt; padding-left: 30px;">
                <span style="color: Blue">Welcome:<span style="text-decoration: underline">
                    <%=Session["username"]%></span></span>
                <span onclick="signout()" style="cursor: pointer; color: Red">Signout</span>
            </div>
        </div>
    </div>
    <div region="west" split="true" title="" style="width: 210px;">
        <div style="width: 250px; position: absolute; text-align: left;">
            <div class="easyui-accordion" style="width: 200px; height: auto;">
                <div title="Products" style="overflow: auto; padding: 2px;">
                    <ul>
                        <li>
                            <a href="/Admini/ProductClass.aspx" target="managerHolder">Product class</a></li>
                        <li>
                            <a href="/Admini/Product.aspx" target="managerHolder">Product</a></li>
                    </ul>
                </div>
                <div title="References" style="overflow: auto; padding: 2px;">
                    <ul>
                        <li>
                            <a href="/Admini/Reference.aspx" target="managerHolder">Reference</a></li>
                    </ul>
                </div>
                <div title="Solutions" style="overflow: auto; padding: 2px;">
                    <ul>
                        <li>
                            <a href="/Admini/SolutionClass.aspx" target="managerHolder">Solution Class</a></li>
                        <li>
                            <a href="/Admini/Solution.aspx" target="managerHolder">Solutions</a></li>
                    </ul>
                </div>
                <div title="Contact Us" style="overflow: auto; padding: 2px;">
                    <ul>
                        <li>
                            <a href="/Admini/ContactUs.aspx" target="managerHolder">Contact Us</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div region="center" title="" style="padding: 5px; background: #eee;">
        <iframe name="managerHolder" frameborder='0' style="width: 100%; height: 100%;"></iframe>
    </div>
</body>
</html>
